<template>
  <div>
    <h1>TEST</h1>
    <button @click="goIndex">goIndex</button>
    <input ref="fileInput"  type="file" @change="fileInfo">
  </div>
</template>

<script>
import LandingPage from "./LandingPage";

export default {
  name: "Test",
  methods:{
    goIndex(){
      this.$router.push({path: 'landingPage',name: 'LandingPage'})
    },
    fileInfo(){
      let firstFile = this.$refs.fileInput.files[0];
      console.log(firstFile)
    }
  }
}
</script>

<style scoped>

</style>